package com.wty.cmims.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName medical_history
 */
@TableName(value ="medical_history")
@Data
public class MedicalHistory implements Serializable {
    /**
     * 病历ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Integer residentId;

    /**
     * 医生ID
     */
    private Integer doctorId;

    /**
     * 问诊日期
     */
    private Date visitDate;

    /**
     * 患者主诉（就诊原因）
     */
    private String chiefComplaint;

    /**
     * 现病史
     */
    private String presentIllness;

    /**
     * 既往病史
     */
    private String pastMedicalHistory;

    /**
     * 手术历史
     */
    private String pastSurgicalHistory;

    /**
     * 诊断
     */
    private String diagnosis;

    /**
     * 治疗方案
     */
    private String treatment;

    /**
     * 医生或其他医疗人员的备注信息
     */
    private String notes;

    /**
     * 修改者
     */
    private Integer updatedUser;

    /**
     * 修改时间
     */
    private Date updatedTime;

    /**
     * 预约ID
     */
    private Integer appointmentId;

    /**
     * 医疗机构ID
     */
    private Integer institutionId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}